package com.yytek.upgrade.service;

import java.util.List;
import com.yytek.upgrade.domain.UpgradeFirmware;

/**
 * 升级包Service接口
 * 
 * @author yytek-iot
 * @date 2022-09-06
 */
public interface IUpgradeFirmwareService 
{
    /**
     * 查询升级包
     * 
     * @param id 升级包主键
     * @return 升级包
     */
    public UpgradeFirmware selectUpgradeFirmwareById(Long id);

    /**
     * 查询升级包列表
     * 
     * @param upgradeFirmware 升级包
     * @return 升级包集合
     */
    public List<UpgradeFirmware> selectUpgradeFirmwareList(UpgradeFirmware upgradeFirmware);

    /**
     * 新增升级包
     * 
     * @param upgradeFirmware 升级包
     * @return 结果
     */
    public int insertUpgradeFirmware(UpgradeFirmware upgradeFirmware);

    /**
     * 修改升级包
     * 
     * @param upgradeFirmware 升级包
     * @return 结果
     */
    public int updateUpgradeFirmware(UpgradeFirmware upgradeFirmware);

    /**
     * 批量删除升级包
     * 
     * @param ids 需要删除的升级包主键集合
     * @return 结果
     */
    public int deleteUpgradeFirmwareByIds(Long[] ids);

    /**
     * 删除升级包信息
     * 
     * @param id 升级包主键
     * @return 结果
     */
    public int deleteUpgradeFirmwareById(Long id);
}
